package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配送员绩效统计对象 rider_performance
 * 
 * @author 心
 * @date 2025-06-30
 */
public class RiderPerformance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 配送员ID */
    @Excel(name = "配送员ID")
    private Long riderId;

    /** 当前持单量 */
    @Excel(name = "当前持单量")
    private Long currentOrders;

    /** 抢单量 */
    @Excel(name = "抢单量")
    private Long grabbedOrders;

    /** 系统派单量 */
    @Excel(name = "系统派单量")
    private Long systemAssigned;

    /** 增派单量 */
    @Excel(name = "增派单量")
    private Long additionalAssigned;

    /** 改派单量 */
    @Excel(name = "改派单量")
    private Long reassigned;

    /** 完成单量 */
    @Excel(name = "完成单量")
    private Long completedOrders;

    /** 配送费(单位：P) */
    @Excel(name = "配送费(单位：P)")
    private BigDecimal deliveryFee;

    @Excel(name = "配送员信息")
    private Rider1 rider;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Rider1 getRider() {
        return rider;
    }



    public void setRider(Rider1 rider) {
        this.rider = rider;
    }

    public Long getId()
    {
        return id;
    }

    public void setRiderId(Long riderId) 
    {
        this.riderId = riderId;
    }

    public Long getRiderId() 
    {
        return riderId;
    }

    public void setCurrentOrders(Long currentOrders) 
    {
        this.currentOrders = currentOrders;
    }

    public Long getCurrentOrders() 
    {
        return currentOrders;
    }

    public void setGrabbedOrders(Long grabbedOrders) 
    {
        this.grabbedOrders = grabbedOrders;
    }

    public Long getGrabbedOrders() 
    {
        return grabbedOrders;
    }

    public void setSystemAssigned(Long systemAssigned) 
    {
        this.systemAssigned = systemAssigned;
    }

    public Long getSystemAssigned() 
    {
        return systemAssigned;
    }

    public void setAdditionalAssigned(Long additionalAssigned) 
    {
        this.additionalAssigned = additionalAssigned;
    }

    public Long getAdditionalAssigned() 
    {
        return additionalAssigned;
    }

    public void setReassigned(Long reassigned) 
    {
        this.reassigned = reassigned;
    }

    public Long getReassigned() 
    {
        return reassigned;
    }

    public void setCompletedOrders(Long completedOrders) 
    {
        this.completedOrders = completedOrders;
    }

    public Long getCompletedOrders() 
    {
        return completedOrders;
    }

    public void setDeliveryFee(BigDecimal deliveryFee) 
    {
        this.deliveryFee = deliveryFee;
    }

    public BigDecimal getDeliveryFee() 
    {
        return deliveryFee;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return "RiderPerformance{" +
                "id=" + id +
                ", riderId=" + riderId +
                ", currentOrders=" + currentOrders +
                ", grabbedOrders=" + grabbedOrders +
                ", systemAssigned=" + systemAssigned +
                ", additionalAssigned=" + additionalAssigned +
                ", reassigned=" + reassigned +
                ", completedOrders=" + completedOrders +
                ", deliveryFee=" + deliveryFee +
                ", rider=" + rider +
                ", updatedAt=" + updatedAt +
                '}';
    }
}
